<?php
/**
 * 环信群操作
 */

namespace App\Services\Easemob;

use Easemob\Auth;
use Easemob\Contact;
use Easemob\Group;
use Easemob\Message;
use Easemob\User;
use Easemob\UserMetadata;

use App\Models\Member\Member;

use App\Services\Com\UtilService;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;

class Contacts extends Base
{

        /** 获取我的好友列表
         * @param $param
         * @throws \Exception
         */
        public static function getContactList($username)
        {
            $auth = self::getInstance();
            $contact = new Contact($auth);



            return $contact->get($username);
        }
    
}